<?php

return [
    "consumers" => value(function (){
        $consumers = [];
        $services = [
            "UserAuthService","UserCalculateService"
        ];
        foreach ($services as $service){
            $consumers[] = [
                'name' => $service,
                'registry' => [
                    'protocol' => 'consul',
                    'address' => 'http://consul:8500',
                ],
            ];
        }
        return $consumers;
    }),
];